package com.diancan.modules.fiveA;

import com.diancan.common.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(("5a"))
public class ChFiveAController {
    @Autowired
    private ChFiveAService chFiveAService;

    @RequestMapping("list")
    public Result list() {
        return Result.buildSuccessResult(
                chFiveAService.list()
        );
    }
}
